#include"HttpServer.hpp"
#include<iostream>
#include<memory>

using namespace std;
int main(int argc,char*argv[])
{
    if(argc != 2)
    {
        return 1;
    }
    uint16_t port = stoi(argv[1]);
    unique_ptr<HttpServer> ptr(new HttpServer(port));
    ptr->Start();

    return 0;
}